<template>
	<view class="spinner">
	  <view class="bounce1"></view>
	  <view class="bounce2"></view>
	  <view class="bounce3"></view>
	</view>
</template>

<script>
	export default {
		name:"rm-loading",
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss">
.spinner {
  width: 40rpx;
  text-align: center;
}

.spinner > view {
  width: 8rpx;
  height: 8rpx;
  background-color: #00A5B5;
  margin-right: 4rpx;

  border-radius: 100%;
  display: inline-block;
  -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
  animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.spinner .bounce1 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.spinner .bounce2 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {
  0%, 80%, 100% { -webkit-transform: scale(0.5) }
  40% { -webkit-transform: scale(1.0) }
}

@keyframes sk-bouncedelay {
  0%, 80%, 100% { 
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
  } 40% { 
    -webkit-transform: scale(1.0);
    transform: scale(1.0);
  }
}
</style>